Migrating from Client-Side to Server-Side Authentication

When the Protege WX controller is upgraded to version 4.00.1676 or higher, it is necessary to transition from client-side to server-side authentication. As well as the authentication method itself, it is necessary to make some key changes to the requests:

  • The Session ID is no longer needed in requests. It is generated server-side and returned to the client in the HTTP header as a session cookie.

  • The sequence number is no longer required.

For example, in older versions a client request to list the users table would be as follows:

Copy
https://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?<SessionID>Request&Type=List&SubType=GXT_USERS_TBL&Sequence=<Sequence Number>

In newer versions, this needs to be changed to:

Copy
https://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_USERS_TBL

These changes must be applied to all relevant calls to the controller.